Hi, can anyone help me in finding who has created a DXL attribute in a certain DOORS module? I know how to print the list of the attributes in the module just want to add the info who created it. Thanks in advance!
Something like that: AttrDef ad
for ad in current do Virjinia - Wed Mar 22 07:24:53 EDT 2017 |
Re: How to know who has created a DXL attribute You will have to evaluate the history of the module. In the gui at File -> Module Properties -> History -> Module you see how it looks when a user has created an attribute. The DXL manual gives some examples on how to read History records (you will want to look for History record of HistoryType createAttr and read its property hr.author). Note that the history records are cleared whenever a baseline is created, so you might have to step backwards through all baselines to find the correct History entry. |
Re: How to know who has created a DXL attribute Thank you! Yes, the approach of checking the history of all baselines and extracting the createAttr modifications with author worked. |